<?php

require_once './core/tools.php';
require_once "./core/template.php";

if (!isset($_POST["login"]) || !isset($_POST["password"])){
	echo getErrorPage(5, "(login or password)");
	return;
}


$sql = "INSERT INTO  `versions_user` (`login` ,`password`) VALUES ('" . $_POST["login"] . "',  SHA1('" . $_POST["password"] . "'))";
executeSQL($sql);

include("install-step5.php");



?>